changed fixed to ::fixed
changed WAGON::WAGON:: to WAGON::, etc
autodetected color depth